package cn.stylefeng.guns.sys.modular.tao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 运费模板名称表
 * </p>
 *
 * @author 
 * @since 2019-08-24
 */
@TableName("zt_postage_model")
public class PostageModel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 模板名称
     */
    @TableField("model_name")
    private String modelName;

    /**
     * 模板类型
     */
    @TableField("model_type")
    private Integer modelType;

    /**
     * 创建时间
     */
    @TableField("create_times")
    private Date createTimes;

    /**
     * 商品id
     */
    @TableField("goods_id")
    private Integer goodsId;

    /**
     * 区域编号
     */
    @TableField("area_id_self")
    private Integer areaIdSelf;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public Integer getModelType() {
        return modelType;
    }

    public void setModelType(Integer modelType) {
        this.modelType = modelType;
    }

    public Date getCreateTimes() {
        return createTimes;
    }

    public void setCreateTimes(Date createTimes) {
        this.createTimes = createTimes;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getAreaIdSelf() {
        return areaIdSelf;
    }

    public void setAreaIdSelf(Integer areaIdSelf) {
        this.areaIdSelf = areaIdSelf;
    }

    @Override
    public String toString() {
        return "PostageModel{" +
        "id=" + id +
        ", modelName=" + modelName +
        ", modelType=" + modelType +
        ", createTimes=" + createTimes +
        ", goodsId=" + goodsId +
        ", areaIdSelf=" + areaIdSelf +
        "}";
    }
}
